from django.conf.urls import url
from . import views


app_name = 'login'

urlpatterns = [
	# 用户注册
	url(r'^register/', views.register, name='register'),
	# 用户登陆
	url(r'^login/', views.login, name='login'),
	# 重置密码
	url(r'^reset/', views.reset, name='reset'),
	# 用户注销
	url(r'^logout/', views.logout, name='logout'),
	# welcome/
	# url(r'^(?P<username>(\w+[0-9a-zA-Z]*[(@shilupan.com)|(@slooptech.com)|(@i100home.com)]*))/content/', views.content, name='content'),
	url(r'^(?P<username>(\w+[0-9a-zA-Z]*))/content/', views.content, name='content'),
]
